package com.zq.structure.facade;

public class Client {
    public static void main(String[] args) {
        Student student = new Student();
        student.setAge(18);
        student.setGender("female");

        Facade facade = new Facade();

        System.out.println(facade.isValid(student) ? "It is valid." : "It is invalid.");
    }
}
